A single woman is insured even if she does not work. Between 18 and 30 years old, you have accumulated a 12-year period of insurance.
A married woman is insured if she works outside her household. You worked 6 years while being married.
A 12-year period entitles you to a pension.
Since you have a total of 18 years of insurance (12+6), you can be entitled to an old-age pension from retirement age.